package quant.smart.crawl.cmd;

import quant.smart.crawl.cmd.lme.OmetalCmd;
import quant.smart.crawl.utils.Constants;

public class CommandFactory {

	public static BaseCommand create(ClientContext client, String optType) {
		switch (optType) {
		case Constants.OPT_LME_COLLECT:
			return new OmetalCmd(client);
		}
		throw new RuntimeException("找不到处理器");
	}

}
